package cn04;

//学生测试类

public class studentTest {
    public static void main(String[] args) {
        student s1 = new student();
        s1.setName("魏种利");
        s1.setAge(22);
        String name = s1.getName();
        int age = s1.getAge();
        System.out.println(name+"---"+age);

        System.out.println("----------");
        student s2 = new student("魏种利",22);
        String name1 = s2.getName();
        int age1 = s2.getAge();
        System.out.println(name1+"----"+age1);

    }
}
